package com.oceansoft.mobile.econsole.weixin.message.req;

import com.oceansoft.mobile.econsole.modules.weixin.entity.Article;

import java.util.List;
import java.util.Map;

/**
 * Created by zeng on 2016/9/14.
 */
public class ImageTextReqMsg extends BaseReqMsg {
    private String articleCount;
    private List<Map<String,String>> articles;

    public ImageTextReqMsg(String articleCount, List<Map<String,String>> articles) {
        super();
        this.articleCount = articleCount;
        this.articles = articles;
        setMsgType(ReqType.NEWS);
    }

    public String getArticleCount() {
        return articleCount;
    }

    public void setArticleCount(String articleCount) {
        this.articleCount = articleCount;
    }

    public List<Map<String,String>> getArticles() {
        return articles;
    }

    public void setArticles(List<Map<String,String>> articles) {
        this.articles = articles;
    }

    @Override
    public String toString() {
        return "ImageTextReqMsg [toUserName=" + toUserName
                + ", fromUserName=" + fromUserName + ", createTime=" + createTime
                + ", msgType=" + msgType + ",articleCount=" + articleCount
                + ", articles = " + articles + ", msgId=" + msgId + "]";
    }
}
